fis.set('project.ignore', ['node_modules/**', 'output/**', '.git/**', 'fis-conf.js', 'pub/**']);

fis.match('/src/scss/(**.scss)', {
    rExt: '.css', // from .scss to .css 
    parser: fis.plugin('sass'),
    release: '/css/$1'
});

fis.match('/src/script/(**.js)', {
  release: '/script/$1'
});

fis
.media('prd')
.match('*.{js,css,png,jpg}',{
  useHash: true
})
.match('/bower_components/*/dist/(*.js)', {
  release: '/script/$1'
})
.match('/src/(**.html)', {
  release: '/html/$1'
});

fis
.media('pub')

.match('/src/script/(**.js)', {
  optimizer: fis.plugin('uglify-js'),
  release: '/script/$1'
})
.match('/bower_components/*/dist/(*.js)', {
  packTo: '/script/vendor.js'
});